import request from '@/utils/request';

import storeUserMana from "./storeUserMana";
import vip from "./vip";
import store from "./store";
import chain from "./chain";
import members from "./members";
import news from "./news";
import chargeOrder from "./chargeOrder";
import authMana from "./authMana";
import manager from "./manager";
import global from "./global";
import feedback from "./feedback";
import server from "./server";
import company from "./company";

export default {
  // 门店账号相关
  storeUserMana,
  // 会员级别接口（门店相关）
  vip,
  store,
  chain,
  members,
  news,
  chargeOrder,
  authMana,
  manager,
  global,
  feedback,
  server,
  company,
  constant: {
    all(data) {
      return request({
        url: '/api/constant/all',
        method: 'POST',
        data
      })
    }
  }
}
